﻿requirejs.config({
    baseUrl: ".",
    paths: {
    	zepto:"javascripts/zepto.min",
    	dingtalk:"javascripts/dingtalk",
        vue: "components/vue/vue.min",
        axios: "components/axios/axios.min",
        common: "resources/js/common"
    },
});

require(["zepto","dingtalk","vue", "axios", "common"], function (zepto,dingtalk,Vue, axios, common) {

    var vm = new Vue({
        el: "#view",
        data: {
        },
        methods: {
            gotoBacklog: function () {
                window.location.href = "backlog.html";
            },
            gotoRequestPool: function () {
                window.location.href = "requestPool.html";
            },
            gotoIncidentNew: function () {
                window.location.href = "incidentNew2.html";
            },
            gotoQuery: function () {
                window.location.href = "query.html";
            },
            gotoEquipment: function () {
                window.location.href = "equipment.html";
            },
            gotoReportPerson: function () {
                window.location.href = "reportPerson.html";
            },
            gotoReportProject: function () {
                window.location.href = "reportProject.html";
            },
            gotoReportGeneral: function () {
                window.location.href = "reportGeneral.html";
            }
        }
    });

});